/**
 * 表示数值的字符串
 * Created by JiaJia on 2019/6/10 0010.
 */
public class Code54 {
    public boolean isNumeric(char[] str) {
        if (str == null || str.length == 0)
            return false;
        return new String(str).matches("[+-]?\\d*(\\.\\d+)?([eE][+-]?\\d+)?");   //正则表达式
    }


}